package com.googlecode.everyidea.core.dao;

import com.googlecode.everyidea.core.model.User;

public interface UserDAO {
    /**
     * 
     * This method corresponds to the database table S_USER
     *
     * 
     */
    void insert(User record);

    /**
     * 
     * This method corresponds to the database table S_USER
     *
     * 
     */
    int updateByPrimaryKey(User record);

    /**
     * 
     * This method corresponds to the database table S_USER
     *
     * 
     */
    int updateByPrimaryKeySelective(User record);

    /**
     * 
     * This method corresponds to the database table S_USER
     *
     * 
     */
    User selectByPrimaryKey(String userId);

    /**
     * 
     * This method corresponds to the database table S_USER
     *
     * 
     */
    int deleteByPrimaryKey(String userId);
}